<!DOCTYPE HTML>
<html>
 <head>
  <title>失败页面</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <?php if(empty($top) && !empty($url)){ //用于登录判断 ?>
   		<meta http-equiv='Refresh' content='<?php echo $timeout ;?>;URL=<?php echo empty($ky)?site_url($url):$url;?><?php echo $params ;?>'>  
   <?php }?>
      
   <link rel="stylesheet" type="text/css" href="/assets/css/dpl-min.css" /> 
   <link href="/assets/css/page-min.css" rel="stylesheet" type="text/css" />
 </head>
<body>
  <div class="container">
    <div class="row">
      <div class="span10">
        <div class="tips tips-large tips-warning">
          <span class="x-icon x-icon-error">×</span>
          <div class="tips-content">
            <h2><?php echo $message ;?></h2>
            <?php if(!empty($url)){?>
            	<p class="auxiliary-text"> 页面将在 <span class="wait"><?php echo  $timeout ;?></span> 秒后自动关闭，如果不想等待请点击 <a href="<?php echo empty($ky)?site_url($url):$url;?><?php echo $params ;?>">这里</a> 关闭
            <?php }?>
            </p>
            <p>
              <a class="page-action" data-type="setTitle" title="返回上一步" href="javascript:back();">返回上一步</a>
			</p>
          </div>
        </div>
      </div> 
    </div>
  </div>
</body>
<?php if(!empty($top)){?>
<script type="text/javascript">
if (window != top){
	top.location.href = "<?php echo site_url($url);?>";
}
</script>
<?php }?>
</html>